package org.dtrd.modules.evaluation.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author: QR
 * @Date: 2021/9/27-11:34
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DtrdEntEvaluationRdSdsca对象", description="自我管理评估（SDSCA）")
public class DtrdEntEvaluationRdSdsca {
    private static final long serialVersionUID = 1L;

    @TableId(value = "data_id", type = IdType.AUTO)
    private Integer dataId;

    @TableLogic
    private Integer isDel;

    @ApiModelProperty(value = "患者ID")
    private Integer patientId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "输入内容，即答案，用半角逗号隔开，第6题若未回答设为-1")
    private String input;

    @ApiModelProperty(value = "总分")
    private Float scoreTotal;

    @ApiModelProperty(value = "饮食得分")
    private Float scoreDiet;

    @ApiModelProperty(value = "运动得分")
    private Float scoreExercise;

    @ApiModelProperty(value = "用药得分")
    private Float scoreMedication;

    @ApiModelProperty(value = "血糖监测得分")
    private Float scoreMonitoring;

    @ApiModelProperty(value = "足部检查得分")
    private Float scoreFootcheck;

    @ApiModelProperty(value = "输出内容")
    private String output;
}
